import 'dart:math';

import 'package:flutter/material.dart';

class ContainerPage extends StatelessWidget {
  const ContainerPage({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      // 顶部导航栏
      appBar: AppBar(
        title: const Text("主页面"),
      ),
      backgroundColor: Colors.greenAccent,
      body: Container(
        color: Colors.indigoAccent,
        alignment: Alignment.center,
        width: MediaQuery.sizeOf(context).width,
        height: 320,
        margin: const EdgeInsets.all(20),
        padding: const EdgeInsets.all(30),
        transform: Matrix4.skew(-pi / 66, 0),
        child: const Icon(
          Icons.android,
          size: 48.588,
        ),
      ),
    );
  }
}
